#include "Tree.h"
#include<stdio.h>

int main()
{
	Tree<int> tree = Tree<int>();
	for(int i = 0; i < 20; i++)
	{
		tree.add(i);
		printf("Added i == %d\n", i);
	}
	
	for(int i = 0; i < 20; i++)
	{
		Node<int>* k = tree.find(i);
		if(k != NULL)
		{
			printf("Found i == %d\n", i);
		}
	}

	for(int i = 0; i < 20; i++)
	{
		tree.remove(i);
		printf("Removed i == %d\n", i);
	}
	printf("Finished now \n");
	return 0;
}

